package com.hopu.bean.time;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class TimeTotal implements Serializable {

    private String hour; //时间段[0-23]
    private String type;
    private int viewCount;
    private int cartCount;
    private int parchaseCount;
    private int totalCount;
    private String viewPercent;
    private String cartPercent;
    private String parchasePercent;
    private String totalPercent;

    public TimeTotal(String hour, String type) {
        this.hour = hour;
        this.type = type;
    }

}
